package com.itheima.reggie.dto;


import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish { //继承Dish的属性，又扩展了下面的属性

    private List<DishFlavor> flavors = new ArrayList<>(); //接收 发送过来的flavors（数组中有json

    private String categoryName;

    private Integer copies;
}
